<template>
  <v-card
    class="mx-auto"
  >
    <v-container fluid>
      <page-banner
        v-bind="banner"
        style2
      />
      <graph-apptpl />
    </v-container>
  </v-card>
</template>

<script>
  import globalDef from '@/util/globals'
  import lan from '@/util/lan-char'
  import GraphApptpl from '@/components/apptpl/graph/GraphApptpl.vue'
  import PageBanner from '@/components/PageBanner.vue'

  export default {
    name: 'Home',
    components: {
      GraphApptpl,
      PageBanner,
    },

    data: () => ({
      lanChar: lan.GetLan(),
      banner: {
        title: '星耀-应用框架',
        subTitle: 'Application Template Framework',
      },
    }),
    computed: {
    },
    created () {
    },
    mounted () {
      globalDef.VueObject.$on('lanChange', lanChar => {
        this.lanChar = lanChar
      })
    },
    beforeDestroy () {
    },
    methods: {
    },
  }

</script>
